.class Lrexsee/multimedia/RexseeCamera$5;
.super Lrexsee/core/browser/clazz/ActivityResult$ActivityResultListener;
.source "RexseeCamera.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/multimedia/RexseeCamera;->takeVideo(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/multimedia/RexseeCamera;


# direct methods
.method constructor <init>(Lrexsee/multimedia/RexseeCamera;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    .line 265
    invoke-direct {p0}, Lrexsee/core/browser/clazz/ActivityResult$ActivityResultListener;-><init>()V

    return-void
.end method


# virtual methods
.method public run(ILandroid/content/Intent;)V
    .locals 4
    .param p1, "resultCode"    # I
    .param p2, "resultIntent"    # Landroid/content/Intent;

    .prologue
    const/4 v2, 0x0

    const-string v3, "content://media/external/video/media"

    .line 268
    const/4 v1, -0x1

    if-ne p1, v1, :cond_3

    .line 269
    invoke-virtual {p2}, Landroid/content/Intent;->getDataString()Ljava/lang/String;

    move-result-object v0

    .line 270
    .local v0, "output":Ljava/lang/String;
    if-nez v0, :cond_1

    .line 271
    iget-object v1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    const-string v2, "content://media/external/video/media"

    # invokes: Lrexsee/multimedia/RexseeCamera;->contentToPath(Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v1, v3}, Lrexsee/multimedia/RexseeCamera;->access$1(Lrexsee/multimedia/RexseeCamera;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 278
    :cond_0
    :goto_0
    iget-object v1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    # invokes: Lrexsee/multimedia/RexseeCamera;->returnVideo(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {v1, v0, v0}, Lrexsee/multimedia/RexseeCamera;->access$4(Lrexsee/multimedia/RexseeCamera;Ljava/lang/String;Ljava/lang/String;)V

    .line 282
    .end local v0    # "output":Ljava/lang/String;
    :goto_1
    return-void

    .line 272
    .restart local v0    # "output":Ljava/lang/String;
    :cond_1
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    const-string v2, "file://"

    invoke-virtual {v1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 273
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    const-string v2, "content://"

    invoke-virtual {v1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 274
    iget-object v1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    # invokes: Lrexsee/multimedia/RexseeCamera;->contentToPath(Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v1, v0}, Lrexsee/multimedia/RexseeCamera;->access$1(Lrexsee/multimedia/RexseeCamera;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 276
    :cond_2
    iget-object v1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    const-string v2, "content://media/external/video/media"

    # invokes: Lrexsee/multimedia/RexseeCamera;->contentToPath(Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v1, v3}, Lrexsee/multimedia/RexseeCamera;->access$1(Lrexsee/multimedia/RexseeCamera;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 280
    .end local v0    # "output":Ljava/lang/String;
    :cond_3
    iget-object v1, p0, Lrexsee/multimedia/RexseeCamera$5;->this$0:Lrexsee/multimedia/RexseeCamera;

    # invokes: Lrexsee/multimedia/RexseeCamera;->returnVideo(Ljava/lang/String;Ljava/lang/String;)V
    invoke-static {v1, v2, v2}, Lrexsee/multimedia/RexseeCamera;->access$4(Lrexsee/multimedia/RexseeCamera;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1
.end method
